import { postData } from './axios'
export function getDatas (url, curPage, seachVal) {
  let Obj = {}
  Obj.page = curPage
  Obj.seachVal = seachVal
  console.log(Obj, url)
  return postData(url, Obj)
    .then(res => {
      console.log('=====', res)
      return res
    })
}
